package com.booza.model;

import java.io.Serializable;
import java.util.Date;

public class PlayerStatus implements Serializable
{
	private int playerid;
	private int online;
	private Integer roomid;
	private Date lastOnline;
	private Room room;

	/**
	 * @return the playerid
	 */
	public int getPlayerid()
	{
		return playerid;
	}

	/**
	 * @param playerid
	 *          the playerid to set
	 */
	public void setPlayerid(int playerid)
	{
		this.playerid = playerid;
	}

	/**
	 * @return the online
	 */
	public int getOnline()
	{
		return online;
	}

	/**
	 * @param online
	 *          the online to set
	 */
	public void setOnline(int online)
	{
		this.online = online;
	}

	/**
	 * @return the roomid
	 */
	public Integer getRoomid()
	{
		return roomid;
	}

	/**
	 * @param roomid
	 *          the roomid to set
	 */
	public void setRoomid(Integer roomid)
	{
		this.roomid = roomid;
	}

	/**
	 * @return the lastOnline
	 */
	public Date getLastOnline()
	{
		return lastOnline;
	}

	/**
	 * @param lastOnline
	 *          the lastOnline to set
	 */
	public void setLastOnline(Date lastOnline)
	{
		this.lastOnline = lastOnline;
	}

	/**
	 * @return the room
	 */
	public Room getRoom()
	{
		return room;
	}

	/**
	 * @param room
	 *          the room to set
	 */
	public void setRoom(Room room)
	{
		this.room = room;
	}
}
